/**
 * @module 缓存模块
 */
import {spawnToControllerCache} from "../cache/path/spawnToControllerCache.js";
import {sourcesCache} from "../cache/structure/sourcesCache.js";
import {towerCache} from "../cache/structure/towerCache.js";
import {spawnCache} from "../cache/structure/spawnCache.js";
import {linkCache} from "../cache/structure/linkCache.js";
import {mineralCache} from "../cache/structure/mineralCache.js";
import {factoryCache} from "../cache/structure/factoryCache.js";


export const cacheController = (roomKey) => {
    // containerCache(roomKey)
    towerCache(roomKey)
    spawnToControllerCache(roomKey)
    sourcesCache(roomKey)
    spawnCache(roomKey)
    linkCache(roomKey)
    mineralCache(roomKey)
    factoryCache(roomKey)
}